TotalContest\Submission\Model D

Total Complexity 142
Dependencies 23
Dependents 4
Total lines 1,440
Lines of code 566
Logical lines of code 301
Comment lines 691
Methods 72
Properties 14

Methods 72

Method Rating Maintainability Complexity Lines of code
getBlocks()
A
46 14 35
__construct()
A
42 9 47
incrementRatings()
S
51 6 25
getVisibleFields()
S
53 6 22
getDateDiffForHuman()
S
56 6 16
isAcceptingVotes()
S
57 4 17
getSeoAttributes()
S
58 4 15
getBindings()
S
50 3 27
toArray()
S
47 2 36
getDetailedRatings()
S
56 3 16
getThumbnailUrl()
S
62 4 10
compileExpressions()
S
62 3 11
getTitle()
S
54 2 21
getShareAttributes()
S
54 2 20
getCategory()
S
70 3 5
getField()
S
67 3 7
getFormFields()
S
65 3 9
getPreview()
S
62 2 11
setError()
S
77 2 3
getErrorMessage()
S
78 2 3
getRatings()
S
62 2 10
render()
S
66 2 9
getCategoryName()
S
75 2 4
save()
S
65 2 9
isOwner()
S
68 2 6
hasVoted()
S
69 2 7
getPermalink()
S
69 2 6
getAdminEditLink()
S
79 1 3
getAjaxUrl()
S
71 1 6
getPrefix()
S
76 1 4
getScreen()
S
82 1 3
setScreen()
S
76 1 4
getAttribute()
S
69 1 7
getTemplateId()
S
78 1 4
getAttributes()
S
82 1 3
getContent()
S
71 1 5
getDateDiff()
S
74 1 4
getId()
S
81 1 3
jsonSerialize()
S
81 1 3
__toString()
S
80 1 3
getReceivedVotes()
S
82 1 3
getReceivedViews()
S
82 1 3
incrementVotes()
S
71 1 6
incrementViews()
S
73 1 5
getAction()
S
82 1 3
setAction()
S
81 1 3
getVotesWithLabel()
S
77 1 3
getVotesNumber()
S
80 1 3
getUrl()
S
71 1 6
getFields()
S
79 1 3
setForm()
S
80 1 3
getVotes()
S
80 1 3
getRateWithLabel()
S
72 1 5
getRateNumber()
S
79 1 3
getType()
S
79 1 3
getSubtitle()
S
78 1 3
getRate()
S
80 1 3
getViewsWithLabel()
S
77 1 3
getViewsNumber()
S
80 1 3
isEmbeddable()
S
78 1 3
getViews()
S
80 1 3
getForm()
S
82 1 3
getLimitations()
S
82 1 3
getRestrictions()
S
82 1 3
isWinner()
S
79 1 3
getError()
S
82 1 3
getDate()
S
82 1 3
getContest()
S
82 1 3
hasError()
S
80 1 3
getSubmissionPost()
S
82 1 3
getAuthor()
S
80 1 3
isApproved()
S
74 1 4